<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html>
<head>
<script type="text/javascript" src="scripts/boot.js"></script>
</head>
<body>
	<div class="mini-toolbar" style="border-bottom:0;padding:0px;">
		<table width="100%" border="0">
			 <tr>
			   	<td align="right"><span>时间(开始时间)</span></td>
			    <td><input id="createTime" class="mini-datepicker" style="width:160px;" format="yyyy-MM-dd H:mm:ss" timeFormat="H:mm:ss" showTime="true" showOkButton="true" showClearButton="false" onenter="onKeyEnter"/> </td>
			    <td align="right"><span>时间(截至时间)</span></td>
			    <td><input id="createTime" class="mini-datepicker" style="width:160px;" format="yyyy-MM-dd H:mm:ss" timeFormat="H:mm:ss" showTime="true" showOkButton="true" showClearButton="false" onenter="onKeyEnter"/> </td>
			    <td></td>
			    <td><a class="mini-button" onclick="search()">查询</a> </td>
			    <td align="right"> </td>
			 </tr>
		</table>          
	</div>
	<div class="mini-toolbar" style="border-bottom:0;padding:0px;">
	    <table style="width:100%;">
	        <tr>
	            <td style="width:100%;">
	                <a class="mini-button" iconCls="icon-download" onclick="exportData()">导出当前</a>
		            <a class="mini-button" iconCls="icon-download" onclick="exportData()">导出全部</a>     
	            </td>
	        </tr>
	    </table>           
	</div>
	<div id="datagrid1" class="mini-datagrid " idField="id" pageSize="20" url="dictionary_view.do" style="width:100%;height:85%;">
		<div property="columns">
			<div type="indexcolumn"></div>
			<div field="keyName" width="100" headerAlign="center" align="center">外线号码</div>
			<div field="keyValue" width="100" headerAlign="center" align="center">进线总数</div>
			<div field="typeName" width="100" headerAlign="center" align="center">重复进线数</div>
			<div field="typeName" width="100" headerAlign="center" align="center">去掉重复进线数</div>
		</div>
	</div>
<script type="text/javascript">
mini.parse();
var grid = mini.get("datagrid1");
grid.load();

function search() {
    grid.load();
}

function onKeyEnter(e) {
    search();
}
</script>
</body>
</html>